[loggers]
keys=root, gunicorn.error, gunicorn.access, __main__

[handlers]
keys=log_file, syslog, console

[formatters]
keys=generic

[logger_root]
level=INFO
handlers=log_file, syslog, console

[logger___main__]
level=INFO
handlers=log_file, syslog, console
propagate=0
qualname=__main__

[logger_gunicorn.error]
level=INFO
handlers=log_file, syslog, console
propagate=0
qualname=gunicorn.error

[logger_gunicorn.access]
level=INFO
handlers=log_file, syslog, console
propagate=0
qualname=gunicorn.access

[handler_syslog]
class=logging.handlers.SysLogHandler
formatter=generic
args=()

[handler_console]
class=logging.StreamHandler
formatter=generic
args=()

[handler_log_file]
class=logging.FileHandler
formatter=generic
args=('services.log',)

[formatter_generic]
format=%(asctime)s [%(process)d:%(name)s:%(lineno)s] [%(levelname)s] %(message)s
datefmt=%Y-%m-%d %H:%M:%S
class=logging.Formatter
